package org.example.work2.at.order.service;


import org.example.work2.at.order.dto.Order;

/**
 * 订单服务
 *
 * @author xh
 * @date 2023/04/03
 */
public interface OrderService {


    /**
     * 创建订单
     *
     * @param order 订单
     * @return boolean
     * @throws Exception 异常
     */
    boolean createOrder(Order order) throws Exception;

}
